import http from "./api";
export function update(data){
    return http.post('/note/update',data)
}
export function getTextById(id){
    return http.post('/note/getTextById',{id})
}
export function deleteNoteById(id){
    return http.post('/note/deleteNote',{id})
}
export function searchNotesByInput(search,page_size,page_num){
    return http.post('/api/getNotes',{search,page_size,page_num})
}